package com.fastCms.business.mall.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * 杭州人参大健康管理有限公司 版权所有 Copyright 2019<br>
 *
 * @Description: <br>
 * @Project: healthPro <br>
 * @CreateDate: Created in 2019年5月21日 下午3:44:48 <br>
 * @Author: < a href="jiahui.zhao@healthpro.vip">jiahui.zhao</ a>
 */
@ApiModel(value="ProductClassDetailVO对象", description="商品分类详情")
@Data
public class ProductClassDetailVO {

	@ApiModelProperty(value = "主键id")
	private String id;

	@ApiModelProperty(value = "组织编码")
	@NotBlank(message = "组织编码不能为空")
	private String organizeCode;

	@ApiModelProperty(value = "产品类型（PHYSICAL_GOODS实物商品,VIRTUAL_GOODS虚拟商品）")
	@NotBlank(message = "商品类型不能为空")
	private String productType;

	@ApiModelProperty(value = "分类名称")
	@NotBlank(message = "分类名称不能为空")
	private String className;

	@ApiModelProperty(value = "分类图片")
	private String classImage;

	@ApiModelProperty(value = "父级分类的id")
	private String pid;

	@ApiModelProperty(value = "是否在前端显示1-展示0-不展示")
	private Integer isShow;

	@ApiModelProperty(value = "排序")
	private Integer sort;

	@ApiModelProperty(value = "商品id列表")
	private List<String> productIds;

}
